
package xiangmu.schoolpaper.pojo.DTO;

import java.math.BigDecimal;

public class TeacherHomeAllOverviewDTO {
    // 学生总数
    private Integer studentTotal;
    // 及格人数
    private Integer passCount;
    // 平均总分
    private BigDecimal averageTotalScore;
    // 最高总分
    private BigDecimal maxTotalScore;
    // 最低总分
    private BigDecimal minTotalScore;
    // 五大分平均分乘人数
    private BigDecimal fiveFactorAvgScoreMultiplyCount;

    // 构造方法
    public TeacherHomeAllOverviewDTO() {
    }

    public TeacherHomeAllOverviewDTO(Integer studentTotal, Integer passCount, BigDecimal averageTotalScore,
                                     BigDecimal maxTotalScore, BigDecimal minTotalScore,
                                     BigDecimal fiveFactorAvgScoreMultiplyCount) {
        this.studentTotal = studentTotal;
        this.passCount = passCount;
        this.averageTotalScore = averageTotalScore;
        this.maxTotalScore = maxTotalScore;
        this.minTotalScore = minTotalScore;
        this.fiveFactorAvgScoreMultiplyCount = fiveFactorAvgScoreMultiplyCount;
    }

    // Getter和Setter方法
    public Integer getStudentTotal() {
        return studentTotal;
    }

    public void setStudentTotal(Integer studentTotal) {
        this.studentTotal = studentTotal;
    }

    public Integer getPassCount() {
        return passCount;
    }

    public void setPassCount(Integer passCount) {
        this.passCount = passCount;
    }

    public BigDecimal getAverageTotalScore() {
        return averageTotalScore;
    }

    public void setAverageTotalScore(BigDecimal averageTotalScore) {
        this.averageTotalScore = averageTotalScore;
    }

    public BigDecimal getMaxTotalScore() {
        return maxTotalScore;
    }

    public void setMaxTotalScore(BigDecimal maxTotalScore) {
        this.maxTotalScore = maxTotalScore;
    }

    public BigDecimal getMinTotalScore() {
        return minTotalScore;
    }

    public void setMinTotalScore(BigDecimal minTotalScore) {
        this.minTotalScore = minTotalScore;
    }

    public BigDecimal getFiveFactorAvgScoreMultiplyCount() {
        return fiveFactorAvgScoreMultiplyCount;
    }

    public void setFiveFactorAvgScoreMultiplyCount(BigDecimal fiveFactorAvgScoreMultiplyCount) {
        this.fiveFactorAvgScoreMultiplyCount = fiveFactorAvgScoreMultiplyCount;
    }

    @Override
    public String toString() {
        return "TeacherHomeAllOverviewDTO{" +
                "studentTotal=" + studentTotal +
                ", passCount=" + passCount +
                ", averageTotalScore=" + averageTotalScore +
                ", maxTotalScore=" + maxTotalScore +
                ", minTotalScore=" + minTotalScore +
                ", fiveFactorAvgScoreMultiplyCount=" + fiveFactorAvgScoreMultiplyCount +
                '}';
    }
}